<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<!--chiptrack:checkLogon sourcePage="/changeOrders.do?isSample=1"/ -->

<%@ page import="java.util.ArrayList,
                 com.scalar.chiptrack.utils.ConfigManager,
                 com.scalar.chiptrack.users.Functionality,
                 com.scalar.chiptrack.users.User,
                 com.scalar.chiptrack.sales.Orders"%>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>

</HEAD>

<BODY bgColor="#ffffff" leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">


<!-- Top Header Start-->

<%@ include file="/jsp/includes/header.jsp" %>

<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<td width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->

<%@ include file="/jsp/operations/releaseMenu.jsp" %>

<!-- end of the side navigations -->

</TD>

<TD bgcolor="#ffffff">
<IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
<TD valign="top" width="100%">

<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>

<!-- from here your body starts -->


<center><span class="NArialW">Fab Release</span></center>

<html:form name="fabReleaseForm" action="/fabRelease.do" type="com.scalar.chiptrack.operations.release.forms.FabReleaseForm">


<nested:nest property="fabRelease">


<table border="0" width="90%" align=center>

    <tr>
        <td>
            <chiptrack:info styleClass="NArialL"  />
        </td>
    </tr>

    <tr>
        <td>
        <table border="0" width="100%" align=right>
            <tr><td colspan='5' align="left" class='NArialL'><FONT id="errors1" color='FF0000'></FONT></td></tr>
            <tr><td colsapn=5><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10></td></tr>

            <nested:hidden property="fabReleaseId" />

            <tr>
                <td width="22%"><font class="NArialL">Fab Release #</font></td>
                <td width="22%"><nested:text property="fabReleaseNo" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL">Release Date</font></td>
                <td width="22%"><nested:text property="fabReleaseDate" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
            </tr>

            <tr>
                <td width="22%"><font class="NArialL">Part Number</font></td>
                <td width="22%"><nested:text property="partNumber" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL">PO #</font></td>
                <td width="22%"><nested:text property="poNumber" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
            </tr>

            <tr>
                <td width="22%"><font class="NArialL">Contact Person</font></td>
                <td width="22%"><nested:text property="contactPerson" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL">Contact Person Email</font></td>
                <td width="22%"><nested:text property="contactPersonEmail" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
            </tr>

            <tr>
                <td width="22%"><font class="NArialL">Vendor</font></td>
                <td width="22%"><nested:text property="vendorName" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL"></font></td>
                <td width="22%"><font class="NArialL"></font></td>
            </tr>

            <tr>
                <td width="22%"><font class="NArialL">Vendor Contact Person</font></td>
                <td width="22%"><nested:text property="vendorContactPerson" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL">Vendor Contact Person Email</font></td>
                <td width="22%"><nested:text property="vendorContactPersonEmail" styleClass="txfield" size="23" maxlength="50" disabled="true" /></td>
            </tr>

            <tr>
                <td width="22%"><font class="NArialL">Test Instructions</font></td>
                <td width="22%"><nested:textarea property="testInstructions" styleClass="txfield" cols="25" rows="3" disabled="true" /></td>
                <td width="10%"><font class="NArialL">&nbsp;</font></td>
                <td width="22%"><font class="NArialL">Comments</font></td>
                <td width="22%"><nested:textarea property="comments" styleClass="txfield" cols="25" rows="3" disabled="true" /></td>
            </tr>

        </table>
        </td>
    </tr>




    <tr><td colspan='4' class="NArialL">Lot Information</td></tr>


    <tr>
        <td>
            <table width="55%">
			<tr>
			    <td width="33%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Lot Number</font></font></td>
				<td width="33%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Qty Available</font></font></td>
				<td width="33%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Qty Pulled</font></font></td>
			</tr>

            <nested:iterate property="fabReleaseLotList" >
			<tr>
			    <nested:hidden property="lotId"/>
                <nested:hidden property="fabLotId" />
				<td><nested:text property="lotNumber" styleClass="txfield" disabled="true" /></td>
				<td><nested:text property="qtyAvailable" styleClass="txfield" disabled="true" /></td>
				<td><nested:text property="qtyPulled" styleClass="txfield" disabled="true" /></td>
			</tr>
			</nested:iterate>

			</table>
        </td>
    </tr>




</table>

</nested:nest>


</html:form>



<!-- till here -->



<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>

<!-- Footer starts here -->

<%@ include file="/jsp/includes/footer.jsp" %>

<!-- footer end here -->

</BODY>
</HTML>
